<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Reranker Framework (ReFr): reranker::CandidateSet Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Reranker Framework (ReFr)
   
   </div>
   <div id="projectbrief">Reranking framework for structure prediction and discriminative language modeling</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacereranker.html">reranker</a>      </li>
      <li class="navelem"><a class="el" href="classreranker_1_1_candidate_set.html">CandidateSet</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">reranker::CandidateSet Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="reranker::CandidateSet" -->
<p>A class to hold a set of candidates, either for training or test.  
 <a href="classreranker_1_1_candidate_set.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>&gt;</code></p>

<p><a href="classreranker_1_1_candidate_set-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set_1_1_scorer.html">Scorer</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">An inner interface for a model to score a <a class="el" href="classreranker_1_1_candidate_set.html">CandidateSet</a>.  <a href="classreranker_1_1_candidate_set_1_1_scorer.html#details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef vector&lt; shared_ptr<br class="typebreak"/>
&lt; <a class="el" href="classreranker_1_1_candidate.html">Candidate</a> &gt; &gt;::<a class="el" href="classreranker_1_1_candidate_set.html#a466bf9e9ff2852608e9e702f7182bb81">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#a466bf9e9ff2852608e9e702f7182bb81">iterator</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef vector&lt; shared_ptr<br class="typebreak"/>
&lt; <a class="el" href="classreranker_1_1_candidate.html">Candidate</a> &gt;<br class="typebreak"/>
 &gt;::<a class="el" href="classreranker_1_1_candidate_set.html#aa907c4710944e91361cef4d465116544">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#aa907c4710944e91361cef4d465116544">const_iterator</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#a745e434cb34ed0aa69aebc7244195953">CandidateSet</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a new candidate set with no information set.  <a href="#a745e434cb34ed0aa69aebc7244195953"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#a2f0ebe92096792101ab91a69a47cfdc0">CandidateSet</a> (const string &amp;key)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a candidate set with the specified key.  <a href="#a2f0ebe92096792101ab91a69a47cfdc0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#a6ad254a6d8d491ff6593a8eb48a8f634">~CandidateSet</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroys this instance.  <a href="#a6ad254a6d8d491ff6593a8eb48a8f634"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classreranker_1_1_candidate_set.html#aa907c4710944e91361cef4d465116544">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#a2a6e17ba0eff32f7c48435c9456c7fe7">begin</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classreranker_1_1_candidate_set.html#aa907c4710944e91361cef4d465116544">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#aab273fd7ef076bc5221e0d099c38b8aa">end</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classreranker_1_1_candidate_set.html#a466bf9e9ff2852608e9e702f7182bb81">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#a73137a6ac7c77efa584f322087210d36">begin</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classreranker_1_1_candidate_set.html#a466bf9e9ff2852608e9e702f7182bb81">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#a4af84404fe4f9a46a0866e2269c54083">end</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#aa04c4a91de2030af08f16b3bda90984a">size</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#a6052873186168c21186705c3e016d223">best_scoring_index</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#aec1af01230233ff19c30174a93a1e1b4">gold_index</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#a050bb0adf3b30066add60a9491e46280">training_key</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classreranker_1_1_candidate.html">Candidate</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#ae64208b8b3a7e0b19f3be10e779e2630">Get</a> (size_t idx)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classreranker_1_1_candidate.html">Candidate</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#a30da3565fca2f14edafafce0255a35ea">GetGold</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classreranker_1_1_candidate.html">Candidate</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#ae2d8533d6d2d3cd10a2c23a8660eefc3">GetBestScoring</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#a8ab76850370e2ebddf717cee8bbd4f9e">reference_string</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#aa49b72dc29358d30a4ccbe36cd1d4f03">reference_string_token_count</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#a9bd2e0995871ec942b8117dc01293631">loss_weight</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the weight of the loss for this candidate set&rsquo;s reference.  <a href="#a9bd2e0995871ec942b8117dc01293631"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#a193de6980a2b77923dc43ab2ddba20dd">compiled</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether any symbolic features in any of the candidates in this candidate set were compiled by an invocation of <a class="el" href="classreranker_1_1_candidate_set.html#a844b1e8edd6a75de2ffc5b295d558e36">CompileFeatures</a> or any previous invocations of <a class="el" href="classreranker_1_1_candidate_set.html#a844b1e8edd6a75de2ffc5b295d558e36">CompileFeatures</a>.  <a href="#a193de6980a2b77923dc43ab2ddba20dd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#adcb001dd18d4119f04f8a95ca7547f27">AddCandidate</a> (shared_ptr&lt; <a class="el" href="classreranker_1_1_candidate.html">Candidate</a> &gt; candidate)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#a844b1e8edd6a75de2ffc5b295d558e36">CompileFeatures</a> (<a class="el" href="classreranker_1_1_symbols.html">Symbols</a> *symbols, bool clear_features=false, bool clear_symbolic_features=true, bool force=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Compiles any symbolic features in this candidate set.  <a href="#a844b1e8edd6a75de2ffc5b295d558e36"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#acf9fb683cb0435f29188de9218941bca">DecompileFeatures</a> (<a class="el" href="classreranker_1_1_symbols.html">Symbols</a> *symbols, bool clear_symbolic_features=false, bool clear_features=true, bool force=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Decompiles any non-symbolic features in the candidates in this candidate set.  <a href="#acf9fb683cb0435f29188de9218941bca"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#a09a5f6f6fa810a96359bef2ca4831d3c">ClearRawData</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the raw data for all candidates in this set by setting each to be the empty string.  <a href="#a09a5f6f6fa810a96359bef2ca4831d3c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#a34bcb7712a2b693b53bb55cea253335e">set_best_scoring_index</a> (size_t index)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#a0bf052223c63c89219c33fd76a5779aa">set_gold_index</a> (size_t index)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#a56bff734fb3274c49c134bde82892a19">set_training_key</a> (const string &amp;<a class="el" href="classreranker_1_1_candidate_set.html#a050bb0adf3b30066add60a9491e46280">training_key</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#abfcb8e323ce912e71fe68812ab9f4be6">set_reference_string</a> (const string &amp;<a class="el" href="classreranker_1_1_candidate_set.html#a8ab76850370e2ebddf717cee8bbd4f9e">reference_string</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#ab355d0469ae1607c8dcd929f3253b446">set_reference_string_token_count</a> (int <a class="el" href="classreranker_1_1_candidate_set.html#aa49b72dc29358d30a4ccbe36cd1d4f03">reference_string_token_count</a>)</td></tr>
<tr><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_candidate_set.html#a4232f5f5d112930ee1cf4a5748345106">operator&lt;&lt;</a> (ostream &amp;os, const <a class="el" href="classreranker_1_1_candidate_set.html">CandidateSet</a> &amp;set)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A class to hold a set of candidates, either for training or test. </p>
<p>During training, a candidate set typically consists of a reference instance with one or more candidate instances. During test, a candidate set is simply a set of candidate instances. </p>

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00062">62</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>
</div><hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="aa907c4710944e91361cef4d465116544"></a><!-- doxytag: member="reranker::CandidateSet::const_iterator" ref="aa907c4710944e91361cef4d465116544" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef vector&lt;shared_ptr&lt;<a class="el" href="classreranker_1_1_candidate.html">Candidate</a>&gt; &gt;::<a class="el" href="classreranker_1_1_candidate_set.html#aa907c4710944e91361cef4d465116544">const_iterator</a> <a class="el" href="classreranker_1_1_candidate_set.html#aa907c4710944e91361cef4d465116544">reranker::CandidateSet::const_iterator</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00074">74</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<a class="anchor" id="a466bf9e9ff2852608e9e702f7182bb81"></a><!-- doxytag: member="reranker::CandidateSet::iterator" ref="a466bf9e9ff2852608e9e702f7182bb81" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef vector&lt;shared_ptr&lt;<a class="el" href="classreranker_1_1_candidate.html">Candidate</a>&gt; &gt;::<a class="el" href="classreranker_1_1_candidate_set.html#a466bf9e9ff2852608e9e702f7182bb81">iterator</a> <a class="el" href="classreranker_1_1_candidate_set.html#a466bf9e9ff2852608e9e702f7182bb81">reranker::CandidateSet::iterator</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00073">73</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a745e434cb34ed0aa69aebc7244195953"></a><!-- doxytag: member="reranker::CandidateSet::CandidateSet" ref="a745e434cb34ed0aa69aebc7244195953" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classreranker_1_1_candidate_set.html#a745e434cb34ed0aa69aebc7244195953">reranker::CandidateSet::CandidateSet</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructs a new candidate set with no information set. </p>

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00065">65</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<a class="anchor" id="a2f0ebe92096792101ab91a69a47cfdc0"></a><!-- doxytag: member="reranker::CandidateSet::CandidateSet" ref="a2f0ebe92096792101ab91a69a47cfdc0" args="(const string &amp;key)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classreranker_1_1_candidate_set.html#a745e434cb34ed0aa69aebc7244195953">reranker::CandidateSet::CandidateSet</a> </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructs a candidate set with the specified key. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>the unique key that identifies this candidate set </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00069">69</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<a class="anchor" id="a6ad254a6d8d491ff6593a8eb48a8f634"></a><!-- doxytag: member="reranker::CandidateSet::~CandidateSet" ref="a6ad254a6d8d491ff6593a8eb48a8f634" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classreranker_1_1_candidate_set.html#a6ad254a6d8d491ff6593a8eb48a8f634">reranker::CandidateSet::~CandidateSet</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destroys this instance. </p>

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00071">71</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="adcb001dd18d4119f04f8a95ca7547f27"></a><!-- doxytag: member="reranker::CandidateSet::AddCandidate" ref="adcb001dd18d4119f04f8a95ca7547f27" args="(shared_ptr&lt; Candidate &gt; candidate)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classreranker_1_1_candidate_set.html#adcb001dd18d4119f04f8a95ca7547f27">reranker::CandidateSet::AddCandidate</a> </td>
          <td>(</td>
          <td class="paramtype">shared_ptr&lt; <a class="el" href="classreranker_1_1_candidate.html">Candidate</a> &gt;&#160;</td>
          <td class="paramname"><em>candidate</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00139">139</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<a class="anchor" id="a2a6e17ba0eff32f7c48435c9456c7fe7"></a><!-- doxytag: member="reranker::CandidateSet::begin" ref="a2a6e17ba0eff32f7c48435c9456c7fe7" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classreranker_1_1_candidate_set.html#aa907c4710944e91361cef4d465116544">const_iterator</a> <a class="el" href="classreranker_1_1_candidate_set.html#a2a6e17ba0eff32f7c48435c9456c7fe7">reranker::CandidateSet::begin</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00092">92</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<a class="anchor" id="a73137a6ac7c77efa584f322087210d36"></a><!-- doxytag: member="reranker::CandidateSet::begin" ref="a73137a6ac7c77efa584f322087210d36" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classreranker_1_1_candidate_set.html#a466bf9e9ff2852608e9e702f7182bb81">iterator</a> <a class="el" href="classreranker_1_1_candidate_set.html#a2a6e17ba0eff32f7c48435c9456c7fe7">reranker::CandidateSet::begin</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00096">96</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<a class="anchor" id="a6052873186168c21186705c3e016d223"></a><!-- doxytag: member="reranker::CandidateSet::best_scoring_index" ref="a6052873186168c21186705c3e016d223" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="classreranker_1_1_candidate_set.html#a6052873186168c21186705c3e016d223">reranker::CandidateSet::best_scoring_index</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00102">102</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<a class="anchor" id="a09a5f6f6fa810a96359bef2ca4831d3c"></a><!-- doxytag: member="reranker::CandidateSet::ClearRawData" ref="a09a5f6f6fa810a96359bef2ca4831d3c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classreranker_1_1_candidate_set.html#a09a5f6f6fa810a96359bef2ca4831d3c">reranker::CandidateSet::ClearRawData</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Clears the raw data for all candidates in this set by setting each to be the empty string. </p>

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00218">218</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<a class="anchor" id="a193de6980a2b77923dc43ab2ddba20dd"></a><!-- doxytag: member="reranker::CandidateSet::compiled" ref="a193de6980a2b77923dc43ab2ddba20dd" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classreranker_1_1_candidate_set.html#a193de6980a2b77923dc43ab2ddba20dd">reranker::CandidateSet::compiled</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns whether any symbolic features in any of the candidates in this candidate set were compiled by an invocation of <a class="el" href="classreranker_1_1_candidate_set.html#a844b1e8edd6a75de2ffc5b295d558e36">CompileFeatures</a> or any previous invocations of <a class="el" href="classreranker_1_1_candidate_set.html#a844b1e8edd6a75de2ffc5b295d558e36">CompileFeatures</a>. </p>

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00136">136</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<a class="anchor" id="a844b1e8edd6a75de2ffc5b295d558e36"></a><!-- doxytag: member="reranker::CandidateSet::CompileFeatures" ref="a844b1e8edd6a75de2ffc5b295d558e36" args="(Symbols *symbols, bool clear_features=false, bool clear_symbolic_features=true, bool force=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classreranker_1_1_candidate_set.html#a844b1e8edd6a75de2ffc5b295d558e36">reranker::CandidateSet::CompileFeatures</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classreranker_1_1_symbols.html">Symbols</a> *&#160;</td>
          <td class="paramname"><em>symbols</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>clear_features</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>clear_symbolic_features</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>force</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Compiles any symbolic features in this candidate set. </p>
<p>For each candidate, feature weights for symbolic features will be added to those for any features already specified with <code>int</code> uid&rsquo;s.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">symbols</td><td>the map from symbols (string instances) to unique integer id&rsquo;s </td></tr>
    <tr><td class="paramname">clear_features</td><td>whether to clear each candidate&rsquo;s &ldquo;normal&rdquo; feature vector <b><em>prior to</em></b> compiling symbolic features </td></tr>
    <tr><td class="paramname">clear_symbolic_features</td><td>whether to clear each candidate&rsquo;s symbolic feature vector <b><em>after</em></b> updating the &ldquo;regular&rdquo; feature vector (to save space) </td></tr>
    <tr><td class="paramname">force</td><td>forces feature compilation on each candidate, even if this method has been previously invoked </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>whether any symbolic features in any of the candidates in this candidate set were actually compiled by this method invocation or any previous invocations of this method</dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classreranker_1_1_candidate.html#ac6013d797c95fa1b0490b9eedc6053e8" title="Compiles any symbolic features in this candidate.">Candidate::Compile</a> </dd></dl>

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00169">169</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<a class="anchor" id="acf9fb683cb0435f29188de9218941bca"></a><!-- doxytag: member="reranker::CandidateSet::DecompileFeatures" ref="acf9fb683cb0435f29188de9218941bca" args="(Symbols *symbols, bool clear_symbolic_features=false, bool clear_features=true, bool force=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classreranker_1_1_candidate_set.html#acf9fb683cb0435f29188de9218941bca">reranker::CandidateSet::DecompileFeatures</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classreranker_1_1_symbols.html">Symbols</a> *&#160;</td>
          <td class="paramname"><em>symbols</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>clear_symbolic_features</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>clear_features</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>force</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Decompiles any non-symbolic features in the candidates in this candidate set. </p>
<p>For each candidate, feature weights for non-symbolic features will be added to those for any features already specified with <code>string</code> uid&rsquo;s.</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">symbols</td><td>the map from symbols (string instances) to unique integer id&rsquo;s </td></tr>
    <tr><td class="paramname">clear_symbolic_features</td><td>whether to clear each candidate&rsquo;s symbolic feature vector <b><em>prior to</em></b> decompiling features </td></tr>
    <tr><td class="paramname">clear_features</td><td>whether to clear each candidate&rsquo;s &ldquo;normal&rdquo; feature vector <b><em>after</em></b> updating the symbolic feature vector (to save space) </td></tr>
    <tr><td class="paramname">force</td><td>forces feature decompilation on each candidate, even if this method has been previously invoked</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classreranker_1_1_candidate.html#aeb149e5da4251f1854eadbf50230342c" title="Decompiles any non-symbolic features in this candidate.">Candidate::Decompile</a> </dd></dl>

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00203">203</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<a class="anchor" id="aab273fd7ef076bc5221e0d099c38b8aa"></a><!-- doxytag: member="reranker::CandidateSet::end" ref="aab273fd7ef076bc5221e0d099c38b8aa" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classreranker_1_1_candidate_set.html#aa907c4710944e91361cef4d465116544">const_iterator</a> <a class="el" href="classreranker_1_1_candidate_set.html#aab273fd7ef076bc5221e0d099c38b8aa">reranker::CandidateSet::end</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00094">94</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<a class="anchor" id="a4af84404fe4f9a46a0866e2269c54083"></a><!-- doxytag: member="reranker::CandidateSet::end" ref="a4af84404fe4f9a46a0866e2269c54083" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classreranker_1_1_candidate_set.html#a466bf9e9ff2852608e9e702f7182bb81">iterator</a> <a class="el" href="classreranker_1_1_candidate_set.html#aab273fd7ef076bc5221e0d099c38b8aa">reranker::CandidateSet::end</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00098">98</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<a class="anchor" id="ae64208b8b3a7e0b19f3be10e779e2630"></a><!-- doxytag: member="reranker::CandidateSet::Get" ref="ae64208b8b3a7e0b19f3be10e779e2630" args="(size_t idx)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classreranker_1_1_candidate.html">Candidate</a>&amp; <a class="el" href="classreranker_1_1_candidate_set.html#ae64208b8b3a7e0b19f3be10e779e2630">reranker::CandidateSet::Get</a> </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>idx</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00107">107</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<a class="anchor" id="ae2d8533d6d2d3cd10a2c23a8660eefc3"></a><!-- doxytag: member="reranker::CandidateSet::GetBestScoring" ref="ae2d8533d6d2d3cd10a2c23a8660eefc3" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classreranker_1_1_candidate.html">Candidate</a>&amp; <a class="el" href="classreranker_1_1_candidate_set.html#ae2d8533d6d2d3cd10a2c23a8660eefc3">reranker::CandidateSet::GetBestScoring</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00114">114</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<a class="anchor" id="a30da3565fca2f14edafafce0255a35ea"></a><!-- doxytag: member="reranker::CandidateSet::GetGold" ref="a30da3565fca2f14edafafce0255a35ea" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classreranker_1_1_candidate.html">Candidate</a>&amp; <a class="el" href="classreranker_1_1_candidate_set.html#a30da3565fca2f14edafafce0255a35ea">reranker::CandidateSet::GetGold</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00111">111</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<a class="anchor" id="aec1af01230233ff19c30174a93a1e1b4"></a><!-- doxytag: member="reranker::CandidateSet::gold_index" ref="aec1af01230233ff19c30174a93a1e1b4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="classreranker_1_1_candidate_set.html#aec1af01230233ff19c30174a93a1e1b4">reranker::CandidateSet::gold_index</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00103">103</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<a class="anchor" id="a9bd2e0995871ec942b8117dc01293631"></a><!-- doxytag: member="reranker::CandidateSet::loss_weight" ref="a9bd2e0995871ec942b8117dc01293631" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="classreranker_1_1_candidate_set.html#a9bd2e0995871ec942b8117dc01293631">reranker::CandidateSet::loss_weight</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the weight of the loss for this candidate set&rsquo;s reference. </p>
<p>For now, this method returns the <code>double</code> representation of the value returned by the <a class="el" href="classreranker_1_1_candidate_set.html#aa49b72dc29358d30a4ccbe36cd1d4f03">reference_string_token_count</a> method. </p>

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00128">128</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<a class="anchor" id="a8ab76850370e2ebddf717cee8bbd4f9e"></a><!-- doxytag: member="reranker::CandidateSet::reference_string" ref="a8ab76850370e2ebddf717cee8bbd4f9e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const string&amp; <a class="el" href="classreranker_1_1_candidate_set.html#a8ab76850370e2ebddf717cee8bbd4f9e">reranker::CandidateSet::reference_string</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00118">118</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<a class="anchor" id="aa49b72dc29358d30a4ccbe36cd1d4f03"></a><!-- doxytag: member="reranker::CandidateSet::reference_string_token_count" ref="aa49b72dc29358d30a4ccbe36cd1d4f03" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classreranker_1_1_candidate_set.html#aa49b72dc29358d30a4ccbe36cd1d4f03">reranker::CandidateSet::reference_string_token_count</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00120">120</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<a class="anchor" id="a34bcb7712a2b693b53bb55cea253335e"></a><!-- doxytag: member="reranker::CandidateSet::set_best_scoring_index" ref="a34bcb7712a2b693b53bb55cea253335e" args="(size_t index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classreranker_1_1_candidate_set.html#a34bcb7712a2b693b53bb55cea253335e">reranker::CandidateSet::set_best_scoring_index</a> </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00224">224</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<a class="anchor" id="a0bf052223c63c89219c33fd76a5779aa"></a><!-- doxytag: member="reranker::CandidateSet::set_gold_index" ref="a0bf052223c63c89219c33fd76a5779aa" args="(size_t index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classreranker_1_1_candidate_set.html#a0bf052223c63c89219c33fd76a5779aa">reranker::CandidateSet::set_gold_index</a> </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00228">228</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<a class="anchor" id="abfcb8e323ce912e71fe68812ab9f4be6"></a><!-- doxytag: member="reranker::CandidateSet::set_reference_string" ref="abfcb8e323ce912e71fe68812ab9f4be6" args="(const string &amp;reference_string)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classreranker_1_1_candidate_set.html#abfcb8e323ce912e71fe68812ab9f4be6">reranker::CandidateSet::set_reference_string</a> </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>reference_string</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00236">236</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<a class="anchor" id="ab355d0469ae1607c8dcd929f3253b446"></a><!-- doxytag: member="reranker::CandidateSet::set_reference_string_token_count" ref="ab355d0469ae1607c8dcd929f3253b446" args="(int reference_string_token_count)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classreranker_1_1_candidate_set.html#ab355d0469ae1607c8dcd929f3253b446">reranker::CandidateSet::set_reference_string_token_count</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>reference_string_token_count</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00240">240</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<a class="anchor" id="a56bff734fb3274c49c134bde82892a19"></a><!-- doxytag: member="reranker::CandidateSet::set_training_key" ref="a56bff734fb3274c49c134bde82892a19" args="(const string &amp;training_key)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classreranker_1_1_candidate_set.html#a56bff734fb3274c49c134bde82892a19">reranker::CandidateSet::set_training_key</a> </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&#160;</td>
          <td class="paramname"><em>training_key</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00232">232</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<a class="anchor" id="aa04c4a91de2030af08f16b3bda90984a"></a><!-- doxytag: member="reranker::CandidateSet::size" ref="aa04c4a91de2030af08f16b3bda90984a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="classreranker_1_1_candidate_set.html#aa04c4a91de2030af08f16b3bda90984a">reranker::CandidateSet::size</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00100">100</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<a class="anchor" id="a050bb0adf3b30066add60a9491e46280"></a><!-- doxytag: member="reranker::CandidateSet::training_key" ref="a050bb0adf3b30066add60a9491e46280" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const string&amp; <a class="el" href="classreranker_1_1_candidate_set.html#a050bb0adf3b30066add60a9491e46280">reranker::CandidateSet::training_key</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00105">105</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a4232f5f5d112930ee1cf4a5748345106"></a><!-- doxytag: member="reranker::CandidateSet::operator&lt;&lt;" ref="a4232f5f5d112930ee1cf4a5748345106" args="(ostream &amp;os, const CandidateSet &amp;set)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ostream&amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&#160;</td>
          <td class="paramname"><em>os</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classreranker_1_1_candidate_set.html">CandidateSet</a> &amp;&#160;</td>
          <td class="paramname"><em>set</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="candidate-set_8_h_source.html#l00246">246</a> of file <a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="candidate-set_8_h_source.html">candidate-set.H</a></li>
<li><a class="el" href="candidate-set_8_c_source.html">candidate-set.C</a></li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Tue Apr 9 2013 11:56:30 for Reranker Framework (ReFr) by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
